<include file="Public:header" />
<div id="main" class="main" >
    <div class="content">
        <div class="title">添加数据 [ <a href="__URL__">返回列表</a> ]</div>
        <div id="result" class="result none"></div>
        <script type="text/javascript" charset="utf-8" src="__PUBLIC__/Js/editor/kindeditor.js"></script>
        <script type="text/javascript">
            KE.show({
                id : 'content_1' //TEXTAREA输入框的ID
            });
        </script>
        <form method='post' id="form1" name="form1" action="__URL__/insert"  enctype="multipart/form-data">
            <table cellpadding=3 cellspacing=3 >
                <tr>
                    <td class="tRight" width="15%">标题：</td>
                    <td class="tLeft" ><input type="text" class="huge bLeftRequire" name="title"></td>
                </tr>
                <tr>
                    <td class="tRight" width="10%">分类：</td>
                    <td class="tLeft" >
                        <select name="category">
                            <volist name="category" id="category">
                                <option value="{$category.id}">{$category.title}</option>
                            </volist>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td class="tRight tTop">内容：</td>
                    <td class="tLeft"><textarea id="content_1" name="content" style="width:700px;height:300px;"></textarea>	</td>
                </tr>

                <tr>
                    <td></td>
                    <td class="center"><div style="width:85%;margin:5px">
                            <input type="hidden" name="status" value="1">
                            <input type="hidden" name="user_id" value="<?php echo $_SESSION[C('USER_AUTH_KEY')] ?>">
                            <input type="submit" value="保 存"  class="button small"> <input type="reset" class="button small" onclick="resetEditor()" value="重 置" >
                        </div></td>
                </tr>
        </form>
        </table>
    </div>
</div>
